<%@ page contentType="text/html; charset=GBK"  %><%@page import="java.util.*"%><%@page import="com.ionglobal.db.*" %><%@page import="com.ionglobal.misc.*" %><%@page import="com.ionglobal.lib.*" %><%@page import="com.gzgi.weqs.refquote.*" %><%@page import="com.gzgi.weqs.partsmanage.*" %><%@page import="org.json.*"%><%@ include file="/include/init_include.jsp" %><%
if(session.getAttribute("sysop")!=null){
	Sysop me = (Sysop)session.getAttribute("sysop");
	
	JSONObject jsonObject = new JSONObject();
	int reqid = Request.getInt("reqid", 0);
	
	ReqApp reqApp = new ReqApp();
	if(reqApp.issueReq(dbi, me, reqid))
		jsonObject.put("errorCode", "1");
	else
		jsonObject.put("errorCode", "2");
	
	out.print(jsonObject);
}
%><%@ include file="/include/init_free.jsp" %>